package com.example.takeoutfood.ui;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;

import com.example.takeoutfood.R;

/**
 *
 * 店铺详情页 -- 标题栏
 * @author 吴子玄
 */
public class ShopTitleLayout extends ConstraintLayout {

    Float offsetMax = (float) getResources().getDimensionPixelSize(R.dimen.top_min_height);
    public ShopTitleLayout(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
        LayoutInflater.from(context).inflate(R.layout.layout_shop_details_title,this,true);

    }


}
